package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 维保费金额明细对象 mt_price
 * 
 * @author ruoyi
 * @date 2020-07-04
 */
public class MtPrice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 维保费用id */
    private Long mtCostId;

    /** 维保费总金额 */
    @Excel(name = "维保费总金额")
    private BigDecimal mtCostPrice;

    /** 维保费已支付金额 */
    @Excel(name = "维保费已支付金额")
    private BigDecimal mtCostPaid;

    public Date getMtCostDate() {
        return mtCostDate;
    }

    public void setMtCostDate(Date mtCostDate) {
        this.mtCostDate = mtCostDate;
    }

    /** 维保费未支付金额 */
    @Excel(name = "维保费未支付金额")
    private BigDecimal mtCostUnpaid;

    /** 维保费支付日期 */
    @Excel(name = "维保费支付日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mtCostDate;

    /** 维保费是/否全部支付 */
    //@Excel(name = "维保费是/否全部支付")
    private Long mtCostIspaid;

    /** 伪外键 */
    //@Excel(name = "伪外键")
    private Long mtContractId;

    public void setMtCostId(Long mtCostId) 
    {
        this.mtCostId = mtCostId;
    }

    public Long getMtCostId() 
    {
        return mtCostId;
    }
    public void setMtCostPrice(BigDecimal mtCostPrice)
    {
        this.mtCostPrice = mtCostPrice;
    }

    public BigDecimal getMtCostPrice()
    {
        return mtCostPrice;
    }
    public void setMtCostPaid(BigDecimal mtCostPaid)
    {
        this.mtCostPaid = mtCostPaid;
    }

    public BigDecimal getMtCostPaid()
    {
        return mtCostPaid;
    }
    public void setMtCostUnpaid(BigDecimal mtCostUnpaid)
    {
        this.mtCostUnpaid = mtCostUnpaid;
    }

    public BigDecimal getMtCostUnpaid()
    {
        return mtCostUnpaid;
    }
    public void setMtCostIspaid(Long mtCostIspaid) 
    {
        this.mtCostIspaid = mtCostIspaid;
    }

    public Long getMtCostIspaid() 
    {
        return mtCostIspaid;
    }
    public void setMtContractId(Long mtContractId) 
    {
        this.mtContractId = mtContractId;
    }

    public Long getMtContractId() 
    {
        return mtContractId;
    }
    //以下只为导出所有
    public BigDecimal getMTCostPrice()
    {
        return mtCostPrice;
    }
    public BigDecimal getMTCostPaid()
    {
        return mtCostPaid;
    }
    public Date getMTCostDate() {
        return mtCostDate;
    }
    public BigDecimal getMTCostUnpaid()
    {
        return mtCostUnpaid;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mtCostId", getMtCostId())
            .append("mtCostPrice", getMtCostPrice())
            .append("mtCostPaid", getMtCostPaid())
            .append("mtCostUnpaid", getMtCostUnpaid())
            .append("mtCostIspaid", getMtCostIspaid())
            .append("mtContractId", getMtContractId())
                .append("mtCostDate",getMtCostDate())
            .toString();
    }
}
